package com.itheima.service;

import com.itheima.domain.Student;

import java.util.ArrayList;

public interface IStudentService {
    boolean isExist (String id);
    void addStudent(Student student);
    void deleteStudent(String id);
    void updateStudent(String id,Student newStu);
    ArrayList<Student> findAllStudent();
    ArrayList<Student> findStuByName(String name);
    Student findStuByphone(String phone);



}
